package viewInterfaces;

import controllerInterfaces.IControllerLoadTestResult;

/**
 * Interface used in views to load previously saved test results.
 * 
 * @author Andy Cullache
 */
public interface IViewLoadTestResult {
	
	/**
	 * Sets the controller of view that implements this interface.
	 * 
	 * @param myController      Benchmark panel controller.
	 */
	public void setController(IControllerLoadTestResult myController);
	
	/**
	 * Method used to display error messages with the respective code.
	 * 
	 * @param code      Error code.
	 * @param message      Message code.
	 */
	public void renderError(int errorCode, String errorMessage);
}
